﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000661 RID: 1633
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetBattleCollegeDataScRsp : IMessage<GetBattleCollegeDataScRsp>, IMessage, IEquatable<GetBattleCollegeDataScRsp>, IDeepCloneable<GetBattleCollegeDataScRsp>, IBufferMessage
	{
		// Token: 0x17001529 RID: 5417
		// (get) Token: 0x060049CC RID: 18892 RVA: 0x000CB469 File Offset: 0x000C9669
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetBattleCollegeDataScRsp> Parser
		{
			get
			{
				return GetBattleCollegeDataScRsp._parser;
			}
		}

		// Token: 0x1700152A RID: 5418
		// (get) Token: 0x060049CD RID: 18893 RVA: 0x000CB470 File Offset: 0x000C9670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetBattleCollegeDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700152B RID: 5419
		// (get) Token: 0x060049CE RID: 18894 RVA: 0x000CB482 File Offset: 0x000C9682
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetBattleCollegeDataScRsp.Descriptor;
			}
		}

		// Token: 0x060049CF RID: 18895 RVA: 0x000CB489 File Offset: 0x000C9689
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBattleCollegeDataScRsp()
		{
		}

		// Token: 0x060049D0 RID: 18896 RVA: 0x000CB49C File Offset: 0x000C969C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBattleCollegeDataScRsp(GetBattleCollegeDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.iAGDNEFGGGM_ = other.iAGDNEFGGGM_;
			this.finishedCollegeIdList_ = other.finishedCollegeIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060049D1 RID: 18897 RVA: 0x000CB4E9 File Offset: 0x000C96E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBattleCollegeDataScRsp Clone()
		{
			return new GetBattleCollegeDataScRsp(this);
		}

		// Token: 0x1700152C RID: 5420
		// (get) Token: 0x060049D2 RID: 18898 RVA: 0x000CB4F1 File Offset: 0x000C96F1
		// (set) Token: 0x060049D3 RID: 18899 RVA: 0x000CB4F9 File Offset: 0x000C96F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700152D RID: 5421
		// (get) Token: 0x060049D4 RID: 18900 RVA: 0x000CB502 File Offset: 0x000C9702
		// (set) Token: 0x060049D5 RID: 18901 RVA: 0x000CB50A File Offset: 0x000C970A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IAGDNEFGGGM
		{
			get
			{
				return this.iAGDNEFGGGM_;
			}
			set
			{
				this.iAGDNEFGGGM_ = value;
			}
		}

		// Token: 0x1700152E RID: 5422
		// (get) Token: 0x060049D6 RID: 18902 RVA: 0x000CB513 File Offset: 0x000C9713
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FinishedCollegeIdList
		{
			get
			{
				return this.finishedCollegeIdList_;
			}
		}

		// Token: 0x060049D7 RID: 18903 RVA: 0x000CB51B File Offset: 0x000C971B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetBattleCollegeDataScRsp);
		}

		// Token: 0x060049D8 RID: 18904 RVA: 0x000CB52C File Offset: 0x000C972C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetBattleCollegeDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.IAGDNEFGGGM == other.IAGDNEFGGGM && this.finishedCollegeIdList_.Equals(other.finishedCollegeIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060049D9 RID: 18905 RVA: 0x000CB58C File Offset: 0x000C978C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.IAGDNEFGGGM != 0U)
			{
				num ^= this.IAGDNEFGGGM.GetHashCode();
			}
			num ^= this.finishedCollegeIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060049DA RID: 18906 RVA: 0x000CB5F2 File Offset: 0x000C97F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060049DB RID: 18907 RVA: 0x000CB5FA File Offset: 0x000C97FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060049DC RID: 18908 RVA: 0x000CB604 File Offset: 0x000C9804
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IAGDNEFGGGM != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.IAGDNEFGGGM);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			this.finishedCollegeIdList_.WriteTo(ref output, GetBattleCollegeDataScRsp._repeated_finishedCollegeIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060049DD RID: 18909 RVA: 0x000CB670 File Offset: 0x000C9870
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.IAGDNEFGGGM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IAGDNEFGGGM);
			}
			num += this.finishedCollegeIdList_.CalculateSize(GetBattleCollegeDataScRsp._repeated_finishedCollegeIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060049DE RID: 18910 RVA: 0x000CB6DC File Offset: 0x000C98DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetBattleCollegeDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.IAGDNEFGGGM != 0U)
			{
				this.IAGDNEFGGGM = other.IAGDNEFGGGM;
			}
			this.finishedCollegeIdList_.Add(other.finishedCollegeIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060049DF RID: 18911 RVA: 0x000CB73D File Offset: 0x000C993D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060049E0 RID: 18912 RVA: 0x000CB748 File Offset: 0x000C9948
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 72U)
				{
					if (num == 8U)
					{
						this.IAGDNEFGGGM = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else if (num == 88U || num == 90U)
				{
					this.finishedCollegeIdList_.AddEntriesFrom(ref input, GetBattleCollegeDataScRsp._repeated_finishedCollegeIdList_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001D63 RID: 7523
		private static readonly MessageParser<GetBattleCollegeDataScRsp> _parser = new MessageParser<GetBattleCollegeDataScRsp>(() => new GetBattleCollegeDataScRsp());

		// Token: 0x04001D64 RID: 7524
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001D65 RID: 7525
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04001D66 RID: 7526
		private uint retcode_;

		// Token: 0x04001D67 RID: 7527
		public const int IAGDNEFGGGMFieldNumber = 1;

		// Token: 0x04001D68 RID: 7528
		private uint iAGDNEFGGGM_;

		// Token: 0x04001D69 RID: 7529
		public const int FinishedCollegeIdListFieldNumber = 11;

		// Token: 0x04001D6A RID: 7530
		private static readonly FieldCodec<uint> _repeated_finishedCollegeIdList_codec = FieldCodec.ForUInt32(90U);

		// Token: 0x04001D6B RID: 7531
		private readonly RepeatedField<uint> finishedCollegeIdList_ = new RepeatedField<uint>();
	}
}
